﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PartyEduCoursewareList.aspx.cs" Inherits="SysManage.Module.Edu.PartyEduCoursewareList" %>

<%@ Import Namespace="ZHDJ.Core" %>

<!DOCTYPE html>
<html>
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <f:PageManager ID="PageManager1" AutoSizePanelID="RegionPanel1" runat="server" />
        <f:RegionPanel ID="RegionPanel1" ShowBorder="false" runat="server">
            <Regions>
                <f:Region ID="Region1" runat="server" ShowBorder="false" ShowHeader="false" Position="Center" Layout="VBox" BoxConfigAlign="Stretch" BoxConfigPosition="Left" BodyPadding="5px 5px 5px 0">
                    <Items>
                        <f:Form ID="Form2" runat="server" Height="36px" BodyPadding="5px" ShowHeader="false"
                            ShowBorder="false">
                            <Rows>
                                <f:FormRow ID="FormRow1" runat="server">
                                    <Items>
                                        <f:TextBox ID="txtTitle" runat="server" Label="课件名称" LabelAlign="right" Width="150px" LabelWidth="70px"></f:TextBox>
                                        <f:DropDownList ID="ddlCategory" LabelAlign="right" runat="server" Label="课件类别" Width="150px" LabelWidth="70px">
                                        </f:DropDownList>
                                        <f:DropDownList ID="ddlCourseType" LabelAlign="right" runat="server" Label="课件格式" Width="150px" LabelWidth="70px">
                                        </f:DropDownList>
                                        <f:ToolbarFill ID="ToolbarFill2" runat="server">
                                        </f:ToolbarFill>
                                        <f:Button ID="btnSearch" runat="server" Text="搜索" OnClick="btnSearch_Click" Icon="SystemSearch" Margin="0 0 0 5"></f:Button>
                                    </Items>
                                </f:FormRow>
                            </Rows>
                        </f:Form>
                        <f:Grid ID="Grid1" runat="server" BoxFlex="1" ShowBorder="true" ShowHeader="false"
                            EnableCheckBoxSelect="true" DataKeyNames="ID" AllowSorting="false"
                            SortField="ID" SortDirection="DESC" AllowPaging="true"
                            IsDatabasePaging="true" OnPreDataBound="Grid1_PreDataBound" OnRowCommand="Grid1_RowCommand"
                            OnPageIndexChange="Grid1_PageIndexChange">
                            <Toolbars>
                                <f:Toolbar ID="Toolbar1" runat="server">
                                    <Items>
                                        <f:Button ID="btnDeleteSelected" Icon="Delete" runat="server" ConfirmText="确认要删除选中记录？" Text="删除选中记录" OnClick="btnDeleteSelected_Click">
                                        </f:Button>
                                        <f:ToolbarFill ID="ToolbarFill1" runat="server">
                                        </f:ToolbarFill>

                                        <f:HyperLink ID="bigFileUplaod" runat="server" Text="大文件上传" NavigateUrl="../../../../BigFileUpload.aspx" Target="_blank"></f:HyperLink>
                                        <f:Button ID="btnNew" runat="server" Icon="Add" EnablePostBack="false" Text="新增">
                                        </f:Button>
                                    </Items>
                                </f:Toolbar>
                            </Toolbars>
                            <PageItems>
                                <f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
                                </f:ToolbarSeparator>
                                <f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数：">
                                </f:ToolbarText>
                                <f:DropDownList ID="ddlGridPageSize" Width="80px" AutoPostBack="true" OnSelectedIndexChanged="ddlGridPageSize_SelectedIndexChanged" runat="server">
                                    <f:ListItem Text="10" Value="10"></f:ListItem>
                                    <f:ListItem Text="20" Value="20"></f:ListItem>
                                    <f:ListItem Text="50" Value="50"></f:ListItem>
                                    <f:ListItem Text="100" Value="100"></f:ListItem>
                                </f:DropDownList>
                            </PageItems>
                            <Columns>
                                <f:RowNumberField />
                                <f:BoundField DataField="Title" SortField="Title" Width="200px" HeaderText="课件名称" ExpandUnusedSpace="true" />
                                <f:BoundField DataField="CategoryName" Width="150px" HeaderText="课件类别" TextAlign="Center" />
                                <f:BoundField DataField="CourseTypeName" Width="150px" HeaderText="课件格式" TextAlign="Center" />
                                <f:BoundField DataField="StatusName" Width="80px" HeaderText="状态" TextAlign="Center" />
                                <f:WindowField ColumnID="editField" TextAlign="Center" Icon="Pencil" HeaderText="编辑" ToolTip="编辑" WindowID="Window1"
                                    Title="编辑" DataIFrameUrlFields="ID"
                                    DataIFrameUrlFormatString="~/app/SysManage/Module/Edu/PartyEduCoursewareEdit.aspx?id={0}"
                                    Width="50px" />
                                <f:LinkButtonField ColumnID="deleteField" TextAlign="Center"
                                    HeaderText="删除" Icon="Delete" ToolTip="删除" ConfirmText="确定删除此数据？"
                                    ConfirmTarget="Top" CommandName="Delete" Width="50px" />
                            </Columns>
                        </f:Grid>
                    </Items>
                </f:Region>
            </Regions>
        </f:RegionPanel>
        <f:Window ID="Window1" CloseAction="Hide" runat="server" IsModal="true" Hidden="true" Target="Top"
            EnableResize="true" EnableMaximize="true" EnableIFrame="true" IFrameUrl="about:blank"
            Width="700px" Height="550px" OnClose="Window1_Close">
        </f:Window>
    </form>
</body>
</html>
